package com.orphan.marketBack.service.impl;

import com.orphan.marketBack.dao.EchatMapper;
import com.orphan.marketBack.po.dto.EacherDto;
import com.orphan.marketBack.service.EchartsCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.beans.ExceptionListener;
import java.util.List;
import java.util.Map;

@Service
public class EchartsCountServiceImpl implements EchartsCountService {
  @Autowired
  EchatMapper mapper;
  @Override
  public List<EacherDto> orderBY() {
    List list = mapper.orderBY();
    System.out.println("list = " + list);
    return list;
  }
}
